From 152ec4f7aad1177896f602460f2d4ea271af238d Mon Sep 17 00:00:00 2001 From: kaldari Date: Fri, 17 May 2013 14:24:50 -0700 Subject: [PATCH] Adding short date format i18n strings to Language message files For the short date format 'Month XX', different languages are inconsistent about whether they apply the genitive case. For example, in Czech using the genitive form is correct. For German it's not. Because of this inconsistancy, we have to have a separate set of i18n messages for this date format. Bug: 47211 Change-Id: Idca1bfc9f4eff7dc561253424f15c15ea007ab6d --- languages/messages/MessagesEn.php | 12 ++++++++++++ languages/messages/MessagesQqq.php | 12 ++++++++++++ maintenance/language/messages.inc | 12 ++++++++++++ 3 files changed, 36 insertions(+) diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 3fb49cece6..c14b700217 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -752,6 +752,18 @@ future releases. Also note that since each list value is wrapped in a unique 'oct' => 'Oct', 'nov' => 'Nov', 'dec' => 'Dec', +'january-date' => 'January $1', +'february-date' => 'February $1', +'march-date' => 'March $1', +'april-date' => 'April $1', +'may-date' => 'May $1', +'june-date' => 'June $1', +'july-date' => 'July $1', +'august-date' => 'August $1', +'september-date' => 'September $1', +'october-date' => 'October $1', +'november-date' => 'November $1', +'december-date' => 'December $1', # Categories related messages 'pagecategories' => '{{PLURAL:$1|Category|Categories}}', diff --git a/languages/messages/MessagesQqq.php b/languages/messages/MessagesQqq.php index b8f1a124fc..5e27d88458 100644 --- a/languages/messages/MessagesQqq.php +++ b/languages/messages/MessagesQqq.php @@ -309,6 +309,18 @@ This option means "underline links as in your user skin or your browser", there 'oct' => 'Abbreviation of October, the tenth month of the Gregorian calendar', 'nov' => 'Abbreviation of November, the eleventh month of the Gregorian calendar', 'dec' => 'Abbreviation of December, the twelfth month of the Gregorian calendar', +'january-date' => 'A date in the Gregorian month of January. $1 is the numerical date, for example "23".', +'february-date' => 'A date in the Gregorian month of February. $1 is the numerical date, for example "23".', +'march-date' => 'A date in the Gregorian month of March. $1 is the numerical date, for example "23".', +'april-date' => 'A date in the Gregorian month of April. $1 is the numerical date, for example "23".', +'may-date' => 'A date in the Gregorian month of May. $1 is the numerical date, for example "23". The month name is not abbreviated.', +'june-date' => 'A date in the Gregorian month of June. $1 is the numerical date, for example "23".', +'july-date' => 'A date in the Gregorian month of July. $1 is the numerical date, for example "23".', +'august-date' => 'A date in the Gregorian month of August. $1 is the numerical date, for example "23".', +'september-date' => 'A date in the Gregorian month of September. $1 is the numerical date, for example "23".', +'october-date' => 'A date in the Gregorian month of October. $1 is the numerical date, for example "23".', +'november-date' => 'A date in the Gregorian month of November. $1 is the numerical date, for example "23".', +'december-date' => 'A date in the Gregorian month of December. $1 is the numerical date, for example "23".', # Categories related messages 'pagecategories' => 'Used in the categories section of pages. Is followed by a colon and a list of categories.', diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index 876b03d4f6..b002596272 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -135,6 +135,18 @@ $wgMessageStructure = array( 'oct', 'nov', 'dec', + 'january-date', + 'february-date', + 'march-date', + 'april-date', + 'may-date', + 'june-date', + 'july-date', + 'august-date', + 'september-date', + 'october-date', + 'november-date', + 'december-date', ), 'categorypages' => array( 'pagecategories', -- 2.20.1